<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<title>Insert title here</title>
<style type="text/css">
	body {
	font-size: 10pt;
	color: #404040;
	font-family: Arial;
}

.div0 {
	margin: 20px 80px;
	font-size: 15px;
}

.div1 {
	width: 820px;
	margin-left: 80px;
	margin-top: 30px;
	margin-bottom: 0px;
	font-size: 12px;
	border: 1px solid #D2D3D5;
	background-color: #F4FEFF;
}

table {
	font-size: 10pt;
	color: #404040;
	font-family: Arial;
	margin-left: 20px;
	margin-top: 20px;
}

.input {
	border: 1px solid #DADADA;
	height: 20px;
	margin-left: 15px;
}

.bc {
	width: 80px;
	height: 20px;
	margin-left: 15px;
}

#vCode {
	margin-left: 15px;
}

#verifyCode {
	width: 50px;
}

label.error {
	color: #cc3300;
}
</style>
</head>
<body>
	   <div class="div0">
    	<span>修改密码</span>
    </div>

	<div class="div1">
		<form action="<c:url value='/user/updatePassword'/>" method="post" target="_parent">
		<table>
			<tr>
				<td><label class="error" style="color: red">${errorMsg }</label></td>
				<td colspan="2">&nbsp;</td>
			</tr>
			<tr>
				<td align="right">原密码:</td>
				<td><input class="input" type="password" name="loginpass" id="loginpass" value="${user.loginpass }"/></td>
				<td><label id="loginpassError" class="error"></label></td>
			</tr>
			<tr>
				<td align="right">新密码:</td>
				<td><input class="input" type="password" name="newpass" id="newpass" value="${user.newpass }""/></td>
				<td><label id="newpassError" class="error"></label></td>
			</tr>
			<tr>
				<td align="right">确认密码:</td>
				<td><input class="input" type="password" name="reloginpass" id="reloginpass" value="${user.reloginpass }""/></td>
				<td><label id="reloginpassError" class="error"></label></td>
			</tr>
			<tr>
				<td align="right"></td>
				<td><input id="submit" type="submit" value="修改密码"/></td>
			</tr>
		</table>
		</form>
	</div>
</body>
</html>